public class MyServlet implements Servlet{
    @Override
    public void doGet(Request request, Response response) throws Exception {

        String mx = request.getParameter("mx");
        response.print("<h1>首页</h1>"+mx);

    }

    @Override
    public void doPost(Request request, Response reponse) throws Exception {
        doGet(request,reponse);
    }
}
